package com.atcd.springboot2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

import java.util.List;

//@ComponentScan(basePackages = {"com.atcd.springboot2.controller"})//主程序的包和子包都会被自动扫描
@SpringBootApplication
public class Demo1Application {

    public static void main(String[] args)
    {
   SpringApplication.run(Demo1Application.class, args);
    }

}
